package battleModel;

import java.awt.Image;
import java.awt.Point;
import java.awt.Shape;

/**
 * These are undamageable walls.
 * Obstacle Attributes:
 *     health=1, damageable=false, location=in constructor or null, image=in constructor
 * 
 * perimeter and shape not yet well defined...depends on wall image
 */
public class StrongWall extends Obstacle{

	private Perimeter perimeter;
	
	public StrongWall(Image i, Point l){
		super(1,false,l,i);
		perimeter=new Perimeter(l.getX(),l.getY(),i.getWidth(null),i.getHeight(null));
	} 

	@Override
	public Shape getCollisionShape() {
		return perimeter.getRect();
	}

}
